@charset 'utf-8';

@import url('../style/rest.less');

.wrapper {
    width: 1250px;
    margin: 0 auto;
}

.display {
    display: none;
}

body {
    background-color: #f5f5f5;
}

.header {
    border-bottom: 2px solid #ff5c00;

    .title {
        height: 100px;
        float: left;
        line-height: 100px;

        img {
            width: 48px;
            height: 48px;
            float: left;
            margin: 28px 45px 0 0;
        }

        p {
            float: left;
            color: #424242;
            font-size: 28px;
        }

        span {
            float: left;
            color: #757575;
            font-size: 12px;
            margin: 6px 0 0 15px;
        }
    }

    .user-info {
        float: right;
        width: 195px;
        height: 40px;
        margin-top: 30px;


        .id {
            float: left;

            &:hover ul {
                height: 125px;
                box-shadow: 0 0 1px 1px #c0c0c0;
            }

            span {
                color: #757575;
                font-size: 12px;
                line-height: 40px;
                margin: 0 15px;
                position: relative;

                &:hover {
                    color: #ff5c00;
                }

                &::before {
                    content: '';
                    position: absolute;
                    width: 5px;
                    height: 5px;
                    border-right: 3px solid #838383;
                    border-top: 3px solid #838383;
                    right: -15px;
                    top: 2px;
                    transform: rotate(135deg);
                }

                &:hover::before {

                    border-color: #ff5c00;
                }
            }

            ul {
                position: absolute;
                background: white;
                height: 0;
                overflow: hidden;
                transition: all 0.5s ease;

                li {
                    a {
                        text-align: center;
                        display: block;
                        width: 110px;
                        height: 25px;
                        color: #838383;
                        font-size: 13px;
                    }
                }
            }
        }

        .myshop {
            float: left;

            span {
                color: #757575;
                font-size: 12px;
                line-height: 40px;
                margin: 0 5px;

                &:hover {
                    color: #ff5c00;
                }
            }

        }
    }
}

.product {
    margin-top: 38px;
    background-color: white;
    position: relative;
    line-height: 70px;
    margin-bottom: 120px;

    .top {
        border-bottom: 1px solid #cac9c9;

        .allchecked {
            float: left;
            width: 110px;
            font-size: 14px;


            input {
                margin: 0 15px 0 24px;
                width: 20px;
                height: 20px;
                vertical-align: middle;
            }

            span {
                vertical-align: middle;
            }
        }

        p {
            float: left;

        }

        .box-t p:nth-child(1) {
            margin-left: 120px;
            width: 380px;
        }

        .box-t p:nth-child(2) {
            width: 158px;
            text-align: center;
        }

        .box-t p:nth-child(3) {
            width: 150px;
            text-align: center;
        }

        .box-t p:nth-child(4) {
            width: 200px;
            padding-right: 81px;
            text-align: right;
        }




    }

    .empty {
        margin: 110px 0 80px;
        padding-left: 558px;
        background: url(../img/shop.png) no-repeat;
        height: 280px;
        border-top: 1px solid #f5f5f5;
        background-color: #f5f5f5;
        h2 {
            color: #b0b0b0;
            margin-top: 70px;
            font-size: 36px;
        }

        a {
            display: block;
            color: #fff;
            font-size: 14px;
            width: 172px;
            height: 50px;
            background-color: #ff6700;
            line-height: 50px;
            text-align: center;
        }
    }

    .product-info {
        








        ul {
            padding: 15px 20px 15px 0;
            border-bottom: 1px solid rgb(165, 165, 165);

            li {
                float: left;
                height: 85px;
            }

            & li:nth-child(1) {
                margin-right: 50px;

                input {
                    margin: 0 15px 0 24px;
                    width: 20px;
                    height: 20px;
                    vertical-align: middle;
                }
            }

            & li:nth-child(2) {

                width: 120px;

                img {
                    width: 80px;
                    height: 80px;
                }
            }

            & li:nth-child(3) {

                width: 380px;
            }

            & li:nth-child(4) {
                width: 158px;
                text-align: center;
            }

            & li:nth-child(5) {
                width: 150px;
                text-align: center;

                input {
                    width: 100px;
                    text-align: center;
                    height: 35px;
                    font-size: 20px;
                    border: 1px solid rgb(170, 170, 170);
                    text-indent: 10px;
                }
            }

            & li:nth-child(6) {
                width: 200px;
                padding-right: 81px;
                text-align: right;
                color: #ff5c00;
            }

            & li:nth-child(7) {
                width: 32px;
                text-align: center;
                cursor: pointer;
            }
        }
    }

    .after-sale {
        padding-bottom: 15px;

        ul {
            li {
                overflow: hidden;
                margin-left: 100px;
                width: 1100px;
                height: 50px;
                padding-left: 20px;
                border: 1px solid #d4d4d4;
                margin-bottom: 5px;
                line-height: 50px;

                img,
                span,
                b {
                    float: left;
                }

                img {
                    width: 22px;
                    height: 22px;
                    margin-right: 15px;
                    margin-top: 15px;
                }

                span {
                    margin-right: 15px;
                }

                b {
                    color: #ff5c00;
                }
            }
        }
    }

    .shop-btn {
        height: 50px;
        background-color: white;
        position: absolute;
        bottom: -75px;
        line-height: 50px;
        color: #757575;
        font-size: 14px;
        // display: none;
        overflow: hidden;

        .box-l {
            float: left;

            .goshop {
                float: left;

                & span:nth-child(1) {
                    margin-left: 32px;
                    margin-right: 12px;
                }
            }

            .content {
                float: left;

                margin-left: 12px;


            }
        }

        .box-r {
            float: right;

            .sum {
                float: left;
                color: #ff5c00;

                span {
                    font-size: 30px;
                }
            }

            .pay {
                float: left;
                width: 202px;
                background-color: #ff5c00;
                color: white;
                font-size: 18px;
                text-align: center;
                margin-left: 50px;
            }
        }
    }


}

.product-show {
    h2 {
        font-size: 30px;
        color: #757575;
        text-align: center;
        position: relative;

        &::after {
            content: '';
            display: block;
            width: 400px;
            height: 1px;
            background-color: #838383;
            position: absolute;
            left: 0;
            bottom: 50%;
        }

        &::before {
            content: '';
            display: block;
            width: 400px;
            height: 1px;
            background-color: #838383;
            position: absolute;
            right: 0;
            bottom: 50%;
        }
    }

    ul {
        li {
            width: 234px;
            height: 300px;
            float: left;
            background-color: white;
            margin: 7px;
            font-size: 14px;
            position: relative;
            overflow: hidden;

            a {
                color: #333;
                text-align: center;

                img {
                    width: 140px;
                    height: 140px;
                    margin: 40px 47px 20px;
                }

                span {
                    display: block;
                    margin: 0 10px 10px;
                }

                i {
                    color: #ff6700;
                    margin-bottom: 10px;
                    display: block;
                }

                b {
                    display: block;
                }

            }

            .gotoshop {
                width: 120px;
                height: 30px;
                line-height: 30px;
                position: absolute;
                border: 1px solid #ff5c00;
                text-align: center;
                background-color: white;
                color: #ff5c00;
                left: 50%;
                margin-left: -60px;
                bottom: -45px;
                transition: all 0.5s ease;

                &:hover {
                    background-color: #ff5c00;
                    color: white;
                }
            }

            &:hover .gotoshop {
                bottom: 15px;


            }
        }
    }
}

.footer {
    background-color: white;

    .top {

        ul {
            height: 80px;

            li {
                height: 100%;
                width: 250px;
                float: left;
                text-align: center;

                &:not(:nth-child(5)) a {
                    border-right: 1px solid #e0e0e0;
                }

                a {
                    height: 25px;
                    display: block;
                    margin-top: 27px;
                    width: 249px;
                    color: #333;
                    text-decoration: none;
                    transition: color 0.3s ease;



                    &:hover {
                        color: #ff6700;
                    }
                }
            }
        }
    }

    .mid {
        border-top: 1px solid #e0e0e0;
        padding: 40px 0;

        ul {
            width: 960px;
            height: 250px;
            float: left;

            >li {
                float: left;
                width: 160px;

                h3 {
                    margin: -1px 0 26px;
                    font-size: 14px;
                    line-height: 1.25;
                    color: #424242;
                }

                li {
                    color: #757575;
                    margin: 10px 0 0;
                    font-size: 12px;
                }
            }
        }

        .mid-r {
            width: 244px;
            float: right;
            text-align: center;

            p {
                font-size: 22px;
                line-height: 1;
                color: #ff6700;
            }

            span {
                margin: 0 0 5px 0;
                font-size: 12px;
                color: #616161;
            }

            i {
                color: #ff6700;
                display: block;
                width: 120px;
                height: 30px;
                border: 1px solid #ff6700;
                margin: auto;
                line-height: 28px;
                font-size: 12px;
                margin-top: 5px;
                margin-bottom: 15px;
            }
        }
    }

    .bot {
        .top {
            .logo {
                float: left;

                img {
                    width: 56px;
                    height: 56px;
                    margin-right: 10px;
                }
            }

            >ul {
                float: left;
                width: 1160px;

                li {

                    height: 18px;
                    width: 1160px;

                    &:nth-child(1) {
                        text-align: left;
                        color: #757575;
                        font-size: 12px;
                    }

                    &:nth-child(2) {
                        text-align: left;
                        color: #757575;
                        font-size: 12px;
                    }

                    &:nth-child(3) {
                        height: 70px;
                        text-align: left;
                        color: #757575;
                        font-size: 11px;
                    }

                    &:nth-child(4) {
                        height: 60px;

                        img {
                            float: left;
                            width: 83px;
                            height: 28px;
                            margin-left: 15px;
                            margin-top: 10px;
                        }
                    }

                    &:nth-child(5) {
                        height: 110px;

                        img {
                            display: block;
                            margin: 40px auto 35px;
                        }

                    }
                }
            }
        }
    }
}